/*
	verion = "convert 1.0"
	author = sinpo.li
	modify = 2016/8/15
	describle: used to convert .glade files to std .glade files
the most import is change <interface>...</interface> to <glade-interface>...</glade-interface>
*/

#include"iostream"
#include"unistd.h"
#include"stdio.h"
#include"convert.h"

using namespace std;


int main(int argc, char **argv)
{	
	if(isLegal(argc, argv) != 0)
		return -1;
	char *pwd = get_pwd();
	cout<<"go in current directory: "<<pwd<<endl;
	char *file_name =  filename(argc,argv);
	modifyfile(pwd, file_name);

	return 0;
}
